{template common/header}

<div class="content">
    {loop $cates $cate}
        {if $cate[nums] != 0}
    	<div class="vBigTitle">
        	<h2>$cate[cate_name]</h2>
            {if $cate[nums] == 5}
                <a href="video.php?cid=$cate[cate_id]" class="more">更多信息</a>
            {/if}
        </div>
    	<ul class="vList">
            {loop $cate[videos] $video}
        	<li>
            	<div class="img"><a href="$video[v_url]" target="_blank"><img src="$video[v_image]" /></a></div>
                <div class="name"><a href="$video[v_url]" target="_blank">$video[v_name]</a></div>
                <div class="playInfo">
                	<div class="left">本周:<span>$video[view_week]</span>次</div>
                    <div class="right">本月:<span>$video[view_month]</span>次</div>
                </div>
            </li>
        	{/loop}
        </ul>
        {/if}
    {/loop}
</div>

{template common/footer}